package org.springblade.modules.admin.enums.erp.tables;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springblade.modules.admin.enums.erp.ERPTableEnum;

/**
 * @author: Sharry
 * @createTime: 2024-12-26 14:20
 * @version: Version-1.0
 */
@Getter
@AllArgsConstructor
public enum BuyingLeadsEnum {

	/**
	 * 2025-07
	 * 配件1:N改造后自定义联合主键id
	 */
	UNITED_ID(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000546054101", "配件1:N改造后自定义联合主键id", "text"),

	/**
	 * 采购流转状态
	 */
	BUYING_LEADS_STATUS(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000486804136", "采购流转状态", "category"),

	/**
	 * 销售流转状态
	 */
	SALES_LEADS_STATUS(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000493985684","销售流转状态", "category"),

	/**
	 * 类型
	 */
	TYPE(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000486804140", "类型", "category"),

	/**
	 * 配件任务id
	 */
	PARTS_TASK_ID(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000493571703", "配件任务id", "text"),

	/**
	 * 项目ID
	 */
	BUILDING_ID(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000493476207", "项目ID", "relation"),

	/**
	 * 项目
	 */
	BUILDING_NAME(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000493380163", "项目", "text"),

	/**
	 * 梯号
	 */
	ELEVATOR_ADDRESS(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000493380164", "梯号", "text"),

	/**
	 * 质保梯
	 */
	CHARGE_ELEVATOR(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000496566438", "质保梯", "category"),

	/**
	 * 配件清单
	 */
	PARTS_LIST(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000496554609", "配件清单", "file"),

	/**
	 * 需求产品
	 */
	RELATION_PARTS(ERPTableEnum.BUYING_LEADS.getTableId(),"2200000486804129","需求产品","relation"),

	/**
	 * 需求数量
	 */
	REQUIREMENT_QUANTITY(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000486804132", "需求数量", "numeric"),

	/**
	 * 需求描述
	 */
	REQUIREMENT_DESCRIPTION(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000486804130", "需求描述", "text"),

	/**
	 * 附件
	 */
	ATTACHMENT(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000493571704", "附件", "file"),

	/**
	 * 申请日期
	 */
	APPLY_DATE(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000486804127", "申请日期", "date"),

	/**
	 * 申请人
	 */
	APPLY_USER(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000493571705", "申请人", "text"),

	/**
	 * 收货人
	 */
	RECEIVER(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000495304525", "收货人", "text"),

	/**
	 * 收货人电话
	 */
	RECEIVER_PHONE(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000495304526", "收货人电话", "text"),

	/**
	 * 收货地址
	 */
	RECEIVER_ADDRESS(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000495304527", "收货地址", "text"),

	/**
	 * 项目ID
	 */
	PROJECT_ID(ERPTableEnum.BUYING_LEADS.getTableId(), "1119001119000000", "项目ID", "text"),

	/**
	 * 客户, 即梯使用单位
	 */
	CUSTOMER(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000493380162", "客户", "text"),

	/**
	 * 2025-01-09 新增
	 * 保养类型描述
	 */
	MAINTAIN_TYPE_DESCRIPTION(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000499738157", "保养类型", "text"),

	/**
	 * 2025-02-14 新增
	 * 2200000504886132 电梯识别码
	 */
	ELEVATOR_NUM(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000504886132", "电梯识别码", "text"),

	/**
	 * 2025-02-14 新增
	 * 2200000504886133 电梯品牌
	 */
	ELEVATOR_BRAND(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000504886133", "电梯品牌", "text"),

	/**
	 * 2025-02-14 新增
	 * 2200000504886134 电梯状态
	 */
	ELEVATOR_STATUS(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000504886134", "电梯状态", "category"),

	/**
	 * 2025-07 新增
	 * 2200000501790346 备注
	 */
	REMARK(ERPTableEnum.BUYING_LEADS.getTableId(), "2200000501790346", "备注", "text");

	/**
	 * 对应 ERP表格ID
	 */
	final String tableId;

	/**
	 * 字段 ID
	 */
	final String fieldId;

	/**
	 * 字段名称
	 */
	final String name;

	/**
	 * 数据类型
	 */
	final String dataType;
}
